package operate;

public class operator6 {
    public static void main(String[] args) {
        double score = 98.5;
        String rs = score >= 60 ? "成绩合格" : "成绩不合格";
        System.out.println(rs);

        int a = 99;
        int b = 67;
        int max = a > b ? a : b;
        System.out.println(max);


        int i = 10;
        int j = 48;
        int k = 34;
        int apple = i > j ? i : j;
        int max2 = apple > k ? apple : k;
        System.out.println(max2);


        System.out.println(10 > 3 || 10 > 3 && 10 < 3);
        System.out.println((10 > 3 || 10 > 3) && 10 < 3);
    }
}
